Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/add workflow presets #68

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

ClausKlein
Copy link
Contributor

clang-format -i *.json

use CMAKE_UNITY_BUILD as default

prevent clang-tidy as precompile step

add ENABLE_DOXYGEN option

With CMAKE_UNITY_BUILD there are build error with ftxui!

Quickfix: don't build ftxui_sample if CMAKE_UNITY_BUILD is set.
clang-format -i *.json

use CMAKE_UNITY_BUILD as default

prevent clang-tidy as precompile step

add ENABLE_DOXYGEN option
@ClausKlein ClausKlein marked this pull request as draft September 5, 2023 16:31
@ClausKlein
Copy link
Contributor Author

cmake --workflow --preset

Usage examples on unix-like OS:

bash-5.2$ cmake --workflow --preset debug --fresh 2> /dev/null | grep -w step
Executing workflow step 1 of 3: configure preset "debug"
Executing workflow step 2 of 3: build preset "debug"
Executing workflow step 3 of 3: test preset "debug"

bash-5.2$ cmake --workflow --preset release --fresh 2> /dev/null | grep -w step
Executing workflow step 1 of 6: configure preset "release"
Executing workflow step 2 of 6: build preset "release"
Executing workflow step 3 of 6: test preset "release"
Executing workflow step 4 of 6: build preset "install"
Executing workflow step 5 of 6: build preset "doxygen-docs"
Executing workflow step 6 of 6: package preset "release"

bash-5.2$ cmake --workflow --preset ?
CMake Error: No such workflow preset in /Users/clausklein/Workspace/cpp/cmake_template: "?"
Available workflow presets:

  "debug"
  "release"
  "clang-debug"
  "clang-release"
bash-5.2$ 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant